//
//  Status.h
//  CC
//
//  Created by Calvin.wang on 3/24/15.
//  Copyright (c) 2015 Calvin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "User.h"

@interface Status : NSObject
#pragma mark  property
@property (nonatomic, strong) NSNumber *Id;
@property (nonatomic, strong) User *user;
@property (nonatomic, copy) NSString *createAt;
@property (nonatomic, copy) NSString *source;
@property (nonatomic, copy) NSString *text;


#pragma mark Methods
-(Status *) initWithCreateAt:(NSString *)createAt source:(NSString *) source text:(NSString *) text user:(User *) user;

-(Status *) initWithCreateAt:(NSString *)createAt source:(NSString *) source text:(NSString *)text userId:(int) userId;

-(Status *) initWithDictionary:(NSDictionary *) dic;

+(Status *) statusWithCreateAt:(NSString *) createAt source:(NSString *) source text:(NSString *) text user:(User *) user;

+(Status *) statusWithCreateAt:(NSString *)createAt source:(NSString *)source text:(NSString *)text userId:(int)userId;
@end
